package com.ruoyi.service.push;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.Map;

@RequestMapping("/service")
@RestController
public class ServicePushTest {

    @Autowired
    WxAppletRemoteService wxAppletRemoteService;

    @PostMapping("/push")
    public void serviceTest(@RequestBody Map data){
        wxAppletRemoteService.uniformMessageSend(data);
    }
}
